<?php
date_default_timezone_set('PRC');

define('DS', DIRECTORY_SEPARATOR);
define('PS', PATH_SEPARATOR);
define('BP', dirname(__FILE__).DS);

include_once BP.'lib/Kd/Loader.php';
include_once BP.'lib/Kd/Autoload.php';
include_once BP.'tmplfunc.php';

Kd_Loader::addIncludePath(BP.'pri'.DS.'code'.DS, BP.'lib'.DS);
Kd_Autoload::register();
App::run();